﻿using Code;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;

namespace Models {
    public class CashInfo {
        public long Id { get; set; }

        [Column("Account", TypeName = "nvarchar(50)")]
        public string Account { get; set; }

        [Column("AccountName", TypeName = "nvarchar(50)")]
        public string AccountName { get; set; }

        [Column("Bank", TypeName = "nvarchar(150)")]
        public string Bank { get; set; }

        [Column("CashType", TypeName = "smallint")]
        public CashType CashType { get; set; }

        public virtual Users Users { get; set; }
    }
}
